"~/.local/share/nvim/site/autoload/plug.vim
call plug#begin('~/.vim/plugged')
Plug 'preservim/tagbar'
call plug#end()            " required

let g:tagbar_width = 30
let g:tagbar_right = 1
let g:tagbar_sort = 0
nmap <F2> :TagbarToggle<CR>

" 显示行尾空格
highlight ExtraWhitespace ctermbg=red guibg=red
autocmd ColorScheme * highlight ExtraWhitespace ctermbg=red guibg=red
match ExtraWhitespace /\s\+$/

autocmd BufNewFile,BufRead *.memo set filetype=memo
